import fetch from '@/utils/request'

export function couponRev(mobile, couponId, incCode, merOrderNo, orderAmt) {
  return fetch({
    url: '/api/adminBiz/assign/couponRev?mobile=' + mobile + '&couponId=' + couponId + '&incCode=' + incCode + '&merOrderNo=' + merOrderNo + '&orderAmt=' + orderAmt,
    method: 'post'
  })
}
export function getAct() {
  return fetch({
    url: '/api/adminBiz/assign/activity',
    method: 'get'
  })
}

export function getCou(actId) {
  return fetch({
    url: '/api/adminBiz/assign/coupon?actId=' + actId,
    method: 'post'
  })
}

export function getInc(couponId) {
  return fetch({
    url: '/api/adminBiz/assign/incidents?couponId=' + couponId,
    method: 'post'
  })
}
